<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet"  href="assets/css/bootstrap.css">
<link href="assets/css/offcanvas.css" rel="stylesheet">
<link href="assets/css/style.css" rel="stylesheet">
<link href="assets/css/bootstrap-theme.css" rel="stylesheet">
<link href="assets/css/offcanvas.css" rel="stylesheet">
<link href="assets/css/play.css" rel="stylesheet">
	<title>歌手列表</title>
</head>
<body>
<?php 
 header("content-type:text/html;charset=utf-8");
 ?>
 <table width="80%" style=" border:1px solid #FFFFFF;background-color:#000 " align="center"> 
  <center><h1><font color="#FFFFFF">歌手列表</font></h1></center>
 <tr>
   <th><font color="#FFFFFF">歌手名称</font></th>
   <th><font color="#FFFFFF">歌手海报</font></th>
   <th><font color="#FFFFFF">地区</font></th>
   <th><font color="#FFFFFF">歌手简介</font></th>
   <th><font color="#FFFFFF">上传时间</font></th>
   <th><font color="#FFFFFF">操作<a href="index1.php?c=geshou&m=geshouform">添加</a></font></th>
 </tr>
 <?php
  foreach ($data['geshous'] as $key => $value1)
   {
      
     echo '<tr>';
     echo '<td><font color="#FFFFFF">'.$value1['geshouname'].'</font></td>';  
        
     echo '<td align="center"><img src='.'vimages/'.$value1['pic'].' width=60 height=80></td>'; 
     switch($value1['tid'])
     {
       case '1':$dg = "内地";break;
       case '2':$dg = "港台";break;
       case '3':$dg = "欧美";break;
       case '9':$dg = "韩国";break;
       default: $dg="不知道";
     }
     echo '<td><font color="#FFFFFF">'.$dg.'</font></td>'; 
     echo '<td><font color="#FFFFFF">'.$value1['intro'].'</font></td>'; 
     echo '<td><font color="#FFFFFF">'.$value1['uploaddate'].'</font></td>'; 
     echo '<td><a href="index1.php?c=geshou&m=editgeshou&vid='.$value1['vid'].'">修改</a>| 
     <a href="index1.php?c=geshou&m=delgeshou&vid='.$value1['vid'].'" onClick="return confirm(\'确定要删除吗？\');">删除</a></td>';
     echo '</tr>';  
  }
     echo '</table>'; 
 ?>
</body>
</html>
